package cn.com.gzheroli.core.common.model.common;

import java.util.List;

public class SqlContext {
	 /** 执行的sql */
    private StringBuilder sql;
    
	/** 主键名称 */
    private String        primaryKey;
    /** 参数，对应sql中的?号 */
    private List<Object>  params;
    public SqlContext(StringBuilder sql, String primaryKey, List<Object> params) {
        this.sql = sql;
        this.primaryKey = primaryKey;
        this.params = params;
    }
	//getter setter 略
    public StringBuilder getSql() {
		return sql;
	}
	public void setSql(StringBuilder sql) {
		this.sql = sql;
	}
	public String getPrimaryKey() {
		return primaryKey;
	}
	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}
	public List<Object> getParams() {
		return params;
	}
	public void setParams(List<Object> params) {
		this.params = params;
	}
}
